package com.summo.demo.service.convert;

import com.summo.demo.entity.UserDO;
import com.summo.demo.model.AddReq;

public class UserConvert {
    public static UserDO toDOWhenSave(AddReq addReq) {
        UserDO userDO = new UserDO();
        userDO.setUserName(addReq.getUserName());
        return userDO;
    }
}
